package com.itheima.day20.demo07;

import java.util.function.Supplier;

public class SupplierDemo {
    public static void main(String[] args) {
        System.out.println(getString(() -> "wangjie"));
    }

    public static String getString(Supplier<String> supplier) {
        return supplier.get();
    }
}
